package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ShuttleLiuyanMapper;
import com.ruoyi.system.domain.ShuttleLiuyan;
import com.ruoyi.system.service.IShuttleLiuyanService;
import com.ruoyi.common.core.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-04-18
 */
@Service
public class ShuttleLiuyanServiceImpl implements IShuttleLiuyanService 
{
    @Autowired
    private ShuttleLiuyanMapper shuttleLiuyanMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param liuyanid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public ShuttleLiuyan selectShuttleLiuyanById(String liuyanid)
    {
        return shuttleLiuyanMapper.selectShuttleLiuyanById(liuyanid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param shuttleLiuyan 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ShuttleLiuyan> selectShuttleLiuyanList(ShuttleLiuyan shuttleLiuyan)
    {
        return shuttleLiuyanMapper.selectShuttleLiuyanList(shuttleLiuyan);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param shuttleLiuyan 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertShuttleLiuyan(ShuttleLiuyan shuttleLiuyan)
    {
        return shuttleLiuyanMapper.insertShuttleLiuyan(shuttleLiuyan);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param shuttleLiuyan 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateShuttleLiuyan(ShuttleLiuyan shuttleLiuyan)
    {
        return shuttleLiuyanMapper.updateShuttleLiuyan(shuttleLiuyan);
    }

    /**
     * 删除【请填写功能名称】对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteShuttleLiuyanByIds(String ids)
    {
        return shuttleLiuyanMapper.deleteShuttleLiuyanByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param liuyanid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteShuttleLiuyanById(String liuyanid)
    {
        return shuttleLiuyanMapper.deleteShuttleLiuyanById(liuyanid);
    }
}
